package main

import "fmt"

/**
 * @author: guangcheng
 * @date:   2020/11/24 10:16
 * @version  V1.0
 * @description:
 *
 */
func main() {

	var a interface{} = AnyType{"tom"}
	fmt.Println(a)
	var b AnyType = AnyType{
		Name: "linda",
	}
	fmt.Println(b.Name)
}

type AnyType struct {
	Name string
}
